package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.User;

public interface UserService {
    User findByName(String username);

    PageResult findpage(QueryPageBean queryPageBean);

    int add(User user, Integer[] roles);

    User findById(Integer id);

    int edit(User user, Integer[] roles);

    int delete(Integer id);
}
